#include <dao.h>
#include <btBulletDynamicsCommon.h>

#include "btDbvtBroadphase.h"

static void construct(DaoContext *ctx, DValue *p[], int N) {
    btBroadphaseInterface* ptr = new btDbvtBroadphase();

    DaoCData *cdata = DaoContext_PutCData(ctx, ptr, &btDbvtBroadphaseTyper);
};

static void destruct(void *self) {
//    delete (btDbvtBroadphase*) self;
}

static DaoFuncItem meth[] = {
    { construct,		"btDbvtBroadphase()" },
    { NULL, NULL }
};

DaoTypeBase btDbvtBroadphaseTyper = {
    "btDbvtBroadphase",
    NULL,
    NULL,               /* constant */
    meth,       	/* methods */
    { NULL },     	/* parent type */
    { NULL },
    destruct,
    NULL
};
